package com.cskaoyan.mapper;


import com.cskaoyan.bean.Account;
import com.cskaoyan.bean.AccountVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface AccountMapper {

    // 简单类型
    int selectAccountCounts();

    List<Integer> selectAccoutIds();

    int[] selectAccountIdArray();


    // javabean
    Account selectAccountById(@Param("id") Integer id);

    List<Account> selectAcconts();

    Account[] selectAccontsArray();

    AccountVO selectAccountVOById(@Param("id") Integer id);

    // ResultMap
    AccountVO selectAccountVOUseResultMap(@Param("id") Integer id);


}
